package org.ymjava.medical.db.AllPackage.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 用户角色关联表
 * 
 * @author zhy
 * @email ${email}
 * @date 2020-04-03 15:53:44
 */
@Table(name = "sys_user_role")
public class SysUserRole implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //
    @Id
    private Integer userId;
	
	    //
    @Column(name = "role_id")
    private Integer roleId;
	

	/**
	 * 设置：
	 */
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	/**
	 * 获取：
	 */
	public Integer getUserId() {
		return userId;
	}
	/**
	 * 设置：
	 */
	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	/**
	 * 获取：
	 */
	public Integer getRoleId() {
		return roleId;
	}
}
